{extend name="public/base" /} {block name="body"}
<div class="content-tabs">
	<ol class="breadcrumb">
		<li>
			<a href="{:url('index/index')}"><i class="fa fa-home"></i></a>
		</li>
		<li>
			<a href="{:url('index')}">联盟商家信息</a>
		</li>
		<li><strong>成员列表</strong></li>
	</ol>
</div>
<div class="ibox-content">
<div class="ibox float-e-margins">    
	<div class="ibox-content">
            <div class="example-wrap">
                <div class="example">
                    <table class="table table-bordered table-hover">
                        <thead>
                            <tr class="long-tr">
                            	<th class="text-center">用户id</th>
                                <th class="text-center">商户名</th>
                                <th class="text-center">商户类型</th>
                                <th class="text-center">地址</th>
                                <th class="text-center">联系电话</th>
                            </tr>
                        </thead>
                        <tbody id="list">
                        	{foreach name='list' item='vo'}

                        	<tr>
								<td class="text-center">{$vo.id}</td>
                        		<td class="text-center">{$vo.store_name}</td>
                        		<td class="text-center">
                        			{if $vo.agent_type == 1}
                        			普通商家
                        			{elseif $vo.agent_type == 2}
                        			代理商
                        			{/if}
                        		</td>
                        		<td class="text-center">
									{$vo.address}
                        		</td>
                        		<td class="text-center">{$vo.store_tel}</td>	
                        	</tr>
                        	{/foreach}
                        </tbody>
                    </table>
                   	<div class="form-group">
						<div class="col-sm-4 col-sm-offset-11">
							<a href="{:url('index')}" class="btn btn-danger"><i class="fa fa-arrow-left"></i> 返回 </a>
						</div>
					</div>
                </div>
            </div>
            </div>
</div>
{/block} {block name="script"}

<script src="__LIB__/datepicker/WdatePicker.js"></script>
<script>
</script>
{/block}